home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / AppleScript / Development Tools / Sample Code / 7Edit 3.1 / Sources / SVAECountElements.h < prev    next >
Encoding:
Text File  |  1995-11-20  |  678 b   |  25 lines  |  [TEXT/CWIE]

  1. // SVAECountElements.h
  2. //
  3. // 7Edit 3.1d1. Original version by Jon Lansdell and Nigel Humphreys.
  4. // 3.1 updates by Greg Sutton.
  5. // ©Apple Computer Inc 1995, all rights reserved.
  6.  
  7. #ifndef __SVAECOUNTELEMENTS__
  8. #define __SVAECOUNTELEMENTS__
  9.  
  10. #include <AppleEvents.h>
  11. #include <AEObjects.h>
  12. #include <AERegistry.h>
  13.  
  14. pascal OSErr    DoCountElements(const AppleEvent    *theAppleEvent,
  15.                                       AppleEvent     *reply,
  16.                                         long             handlerRefCon);
  17.  
  18. pascal OSErr    MyCountProc(DescType desiredType, DescType containerClass,
  19.                                         const AEDesc *container, long* result);
  20.  
  21. OSErr            GetDescForNumberOfElements(DescType desiredType,
  22.                                             AEDesc* container, AEDesc* result);
  23.  
  24. #endif
  25.